﻿package blob
{
    import blob.levelstates.*;
    import cse481d.*;
    import org.flixel.*;

    public class Blob extends FlxGame
    {
        public static const NAME:String = "blob";
        public static const GID:int = 34;
        public static const SKEY:String = "3994f219aef178801d18fa30c2b49e58";
        public static const level1Name:String = "Level 1: Welcome to Blob";
        public static const level2Name:String = "Level 2: Two Blobs are Better Than One";
        public static const level3Name:String = "Level 3: Fan Intro";
        public static const level4Name:String = "Level 4: Switch Intro";
        public static const level5Name:String = "Level 5: Teamwork";
        public static const level6Name:String = "Level 6: Too Fat to Fly";
        public static const level7Name:String = "Level 7: Blocks Intro";
        public static const level8Name:String = "Level 8: Let Us In!";
        public static const level9Name:String = "Level 9: Us Blocks Gotta Stick Together";
        public static const level10Name:String = "Level 10: Pressure Plate Intro";
        public static const level11Name:String = "Level 11: Don\'t Forget Me!";
        public static const level12Name:String = "Level 12: Release the Block!";
        public static const level13Name:String = "Level 13: Tricky Doors";
        public static const level14Name:String = "Level 14: Simpler Than it Seems";
        public static const level15Name:String = "Level 15: Trapped";
        public static const level16Name:String = "Level 16: Logic Gates";
        public static const level17Name:String = "Level 17: Longjump";
        public static const level18Name:String = "Level 18: Too Fat to Slide";
        public static const level19Name:String = "Level 19: Lead the Way";
        public static const level20Name:String = "Level 20: You Go That Way, I\'ll Go This Way";
        public static const CID:int = 2;
        public static const timeActionId:int = 1;
        public static const resetActionId:int = 2;
        public static const returningUserActionId:int = 3;
        private static var _logger:Logger;

        public function Blob() : void
        {
            super(800, 600, SplashScreen, 1, 60, 60);
            return;
        }// end function

        public static function getLogger() : Logger
        {
            if (_logger == null)
            {
                _logger = Logger.initialize(GID, NAME, SKEY, CID, null);
            }
            return _logger;
        }// end function

    }
}
